<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/log/SafeLog.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_2241064965c8d9ca993f08b926076f7d.html">log</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle">
<div class="title">SafeLog.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_file_8h_source.html">../file/File.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_mutex_8h_source.html">../thread/Mutex.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_string_tools_8h_source.html">../stream/StringTools.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_string_imp_8h_source.html">../stream/internal/StringImp.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="logdef_8h_source.html">logdef.h</a>&quot;</code><br />
</div>
<p><a href="_safe_log_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_safe_logs.html">CSafeLogs</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">线程安全日志操作类  <a href="class_c_safe_logs.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:af5f39b12ec7524d513a48e9b662a445a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_safe_log_8h.html#af5f39b12ec7524d513a48e9b662a445a">DEFAULT_LOG_SIZE</a>&#160;&#160;&#160;10*1024*1024</td></tr>
<tr class="memdesc:af5f39b12ec7524d513a48e9b662a445a"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认的日志大小10M  <a href="_safe_log_8h.html#af5f39b12ec7524d513a48e9b662a445a">更多...</a><br /></td></tr>
<tr class="separator:af5f39b12ec7524d513a48e9b662a445a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf3ddfcd82496629d7ab869a57f2fedd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_safe_log_8h.html#acf3ddfcd82496629d7ab869a57f2fedd">DEFAULT_FLUSH_TIME</a>&#160;&#160;&#160;3600</td></tr>
<tr class="memdesc:acf3ddfcd82496629d7ab869a57f2fedd"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认每隔多长时间切换一次日志  <a href="_safe_log_8h.html#acf3ddfcd82496629d7ab869a57f2fedd">更多...</a><br /></td></tr>
<tr class="separator:acf3ddfcd82496629d7ab869a57f2fedd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="acf3ddfcd82496629d7ab869a57f2fedd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf3ddfcd82496629d7ab869a57f2fedd">&#9670;&nbsp;</a></span>DEFAULT_FLUSH_TIME</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DEFAULT_FLUSH_TIME&#160;&#160;&#160;3600</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>默认每隔多长时间切换一次日志 </p>

<p class="definition">在文件 <a class="el" href="_safe_log_8h_source.html">SafeLog.h</a> 第 <a class="el" href="_safe_log_8h_source.html#l00013">13</a> 行定义.</p>

</div>
</div>
<a id="af5f39b12ec7524d513a48e9b662a445a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5f39b12ec7524d513a48e9b662a445a">&#9670;&nbsp;</a></span>DEFAULT_LOG_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DEFAULT_LOG_SIZE&#160;&#160;&#160;10*1024*1024</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>默认的日志大小10M </p>

<p class="definition">在文件 <a class="el" href="_safe_log_8h_source.html">SafeLog.h</a> 第 <a class="el" href="_safe_log_8h_source.html#l00012">12</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
